<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">项目里程碑计划管理</h4>
</div>

<div class="modal-body">
    <form role="form" class="validator_form" action="{:url('/Index/Project/Plan/add')}" id="addProjectPlanForm" method="post">
        <input type="hidden" name="project_id" value="{:input('project_id')}">
        <div class="box-body">

            <div class="form-group">
                <label>计划名称</label>
                <input type="text" name="title" class="form-control" id="title" required placeholder="title">
            </div>
            <div class="form-group">
                <label>计划内容</label>
                <textarea name="content" class="form-control" required> </textarea>

            </div>
            <div class="form-group">
                <label>计划完成时间</label>
                <input type="text" name="complete_time" class="form-control datepicker" id="complete_time" required placeholder="计划完成时间">
            </div>



        </div>
        <div class="box-footer">
            <button type="submit" class="btn btn-primary">确认</button>
        </div>



    </form>
    <!-- /.box-body -->
</div>
<script>
    $('.datepicker').datepicker({
        language: 'zh-CN',
        autoclose: true
    });
    ajax_form_submit("addProjectPlanForm");
</script>